package com.suixingpay.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class KunpengOneUser implements Serializable {
    private Integer id;

    private String merchantNum;

    private String workOrderNum;

    private Integer merchantState;

    private String merchantName;

    private String legalPersonName;

    private String legalPersonId;

    private String legalPersonIdMask;

    private Integer installedAddressP;

    private Integer installedAddressC;

    private Integer installedAddressA;

    private String installedAddressDetail;

    private String settlementName;

    private String settlementId;

    private String settlementIdMask;

    private Integer settlementBankNum;

    private String settlementBankName;

    private String cardNum;

    private String cardNummask;

    private String settlementType;

    private String note;

    private Integer workOrderCheckState;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date checkDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date checkTime;

}